package io.github.nejckorasa.locust4j.http.task;

//import io.github.nejckorasa.locust4j.http.generator.BaseRequestGenerator;
//import io.github.nejckorasa.locust4j.http.task.PostExampleTask;

/**
 * @author myzhan
 */
public class HttpTaskBuilder {

    private final PostExampleTask httpTask;

    public HttpTaskBuilder(int weight, String name) {
        httpTask = new PostExampleTask(weight, name);
    }

//    public HttpTaskBuilder setWeight(int weight) {
//        this.httpTask.setWeight(weight);
//        return this;
//    }

//    public HttpTaskBuilder setName(String name) {
//        this.httpTask.setName(name);
//        return this;
//    }

//    public HttpTaskBuilder setRequestGenerator(BaseRequestGenerator requestGenerator) {
//        this.httpTask.setRequestGenerator(requestGenerator);
//        return this;
//    }

    public PostExampleTask build() {
        return this.httpTask;
    }
}
